<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Cate extends Model {
	public function pcate() {
		return $this->belongsTo(Cate::class, 'cate_id', 'pid');
	}
}
